home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.saf.impl;
-
- import com.extensibility.saf.Association;
- import com.extensibility.saf.SchemaAdjunct;
- import java.util.Properties;
- import org.w3c.dom.Element;
-
- public class SimpleAssociation implements Association, Tags {
- protected Properties propertyList;
- protected SchemaAdjunct adjunct;
- protected String selector;
- protected int kind;
-
- public SimpleAssociation(SchemaAdjunct var1, int var2, String var3, Properties var4) {
- this.adjunct = var1;
- this.propertyList = var4;
- this.selector = var3;
- this.kind = var2;
- }
-
- public SchemaAdjunct getOwnerAdjunct() {
- return this.adjunct;
- }
-
- public String getSelector() {
- return this.selector;
- }
-
- public int getKind() {
- return this.kind;
- }
-
- public Element getMetaData() {
- return null;
- }
-
- public String getProperty(String var1) {
- return this.propertyList.getProperty(var1);
- }
-
- public int countRepeatedProperty(String var1) {
- return this.getProperty(var1) == null ? 0 : 1;
- }
-
- public void setProperty(String var1, String var2) {
- this.propertyList.put(var1, var2);
- }
-
- public void removeProperty(String var1) {
- this.propertyList.remove(var1);
- }
- }
-